package cn.ac.cintcm.synonymous;

import java.io.Serializable;
import java.util.Date;

public class ResultRecord implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = -8725014940729104912L;
    private int id;
    private String author;
    private Date date;
    private String result;
    public String getAuthor() {
        return author;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
    public Date getDate() {
        return date;
    }
    public void setDate(Date date) {
        this.date = date;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getResult() {
        return result;
    }
    public void setResult(String result) {
        this.result = result;
    }
    
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(author);
        sb.append(Config.FIELD_SEPERATOR);
        sb.append(id);
        sb.append(Config.FIELD_SEPERATOR);
        sb.append(date);
        sb.append(Config.FIELD_SEPERATOR);
        sb.append(result);
       return sb.toString();
        
    }
}
